#! /usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Mosson"
import xadmin
from .models import Order, OrderDetail


class OrderModelAdmin(object):
    """ 订单模型管理类 """
    pass


xadmin.site.register(Order, OrderModelAdmin)


class OrderDetailModelAdmin(object):
    """ 订单详情模型管理类 """
    pass


xadmin.site.register(OrderDetail, OrderDetailModelAdmin)
